package cn.itcast.statistics.client;

import cn.itcast.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-ucenter")
@Component
public interface UCenterClient {

    @GetMapping("/educenter/member/getRegisterCount/{day}")
    public R getRegisterCount(@PathVariable String day);
}
